<template>
	<view>
		<page-head :title="title"></page-head>
		<view class="url-padding-wrap uni-common-mt">
			<button type="primary":loading="loading">
				页面主操作 Loading
			</button>
			<button type="default" disabled="true">
				页面次要操作 Disabled
			</button>
			<button type="warn" @click="goto()">警告类操作 Normal</button>
			
			<view class="button-sp-area">
				<button type="primary" plain="true">镂空按钮</button>
				<button type="default" plain="true">镂空按钮</button>
				<button type="warn" plain="true">镂空按钮</button>
				<button type="default" disabled="true" plain="true">
					不可点击的按钮
				</button>
				
				<button class="mini-btn" type="primary" size="mini">按钮</button>
				<button class="mini-btn" type="default" size="mini">按钮</button>
				<button class="mini-btn" type="warn" size="mini">按钮</button>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			goDetailPage(e) {
				if (typeof e === 'string') {
					uni.navigateTo({
						url: '/pages/components/' + e + '/' + e
					});
				} else {
					uni.navigateTo({
						url: e.url
					});
				}
			}
		}
	}
</script>

<style>

</style>
